#define _CRT_SECURE_NO_WARNINGS
#include"Queue.h"
void Test01()
{
	Queue plist;
	QueueInit(&plist);
	QueuePush(&plist, 1);
	QueuePush(&plist, 2);
	QueuePush(&plist, 3);
	QueuePush(&plist, 4);
	//while (!QueueEmpty(&plist))
	//{
	//	printf("%d ", QueueFront(&plist));
	//	QueuePop(&plist);
	//}
	QueuePop(&plist);
	QueuePop(&plist);
	while (!QueueEmpty(&plist))
	{
		printf("%d ", QueueFront(&plist));
		QueuePop(&plist);
	}

	QueueDestroy(&plist);
}



int main()
{
	Test01();

	return 0;
}